package com.xinxin.intelligenceexam.domain;

/**
 * User: Tianxin
 * Date: 2016-11-07
 * Time: 12:10
 */

public class HttpResult<T> {
    private int status;//1代表成功，0代表失败,2代表没有信息
    private int pageNum;//页码
    private String mesg;//信息
    private T data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public String getMesg() {
        return mesg;
    }

    public void setMesg(String mesg) {
        this.mesg = mesg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
